package com.tedu.service;

import com.tedu.pojo.entity.Trip;
import com.tedu.pojo.param.TripParam;
import com.tedu.pojo.vo.TripVo;
import org.springframework.stereotype.Repository;

import java.util.List;


public interface ITripService {
    int addTrip(TripParam tripParam);

    int deleteTrip(int id);

    List<TripVo> selectTripById(int id);

    TripParam selectTripAll();

    int modifyTrip(Trip trip);
}
